﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Rose.Models.ArticleModel>" %>
<%@Import Namespace="Rose.Models" %>
<% ArticleModel item = Model; %>


  <div class="trend" data="<%=item.Id %>">
<div class="headline" style="display:table">
<p class="title"><a class="pointer" onclick="SeeMyArticle(this);" data="<%=item.Id %>"><span><%=item.Title %></span></a><bt class="edit"><a href="<%=Url.Action("UpdateArticle","Article",new{articleId=item.Id}) %>">编辑</a>|<a class="pointer" onclick="DeleteArticle(this);" data="<%=item.Id %>">删除</a></bt>
</p>
<p class="commentline"><%=item.CreateTime %></p>
<p class="contentline"><%=item.Content %></p>
<p class="commentline">
<%--<a>浏览(<%=item.Hit %>)</a>|<a>评论(<%=item.CommentCount %>)</a>|<a>转发(<%=item.ShareCount %>)</a>--%>
<a data="<%=item.Id %>" class="pointer" onclick="SeeMyArticle(this);">预览&nbsp;</a>|
<a class="pointer" data="<%=item.Id %>" onclick="GetArticleComment(this);">回复(<%=item.CommentCount %>)</a>
</p>


</div>

</div>
<div class="thinline"></div>


<%-------------------------------------------------%>
